﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Control_EmpSalaryListUpDown : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            Bind();
        }
    }

    private void Bind()
    {

        if (HoverId.Value != "")
        {
            HyperLink HY = ((HyperLink)this.FindControl(HoverId.Value));
            HY.CssClass = "OnHover";
        }

        ListUpload.NavigateUrl = "javascript:void(0)";
        ListUpload.Attributes.Add("onclick", "location.href='" + "../EmployeesSalary/EmpSalaryUpLoad.aspx?';return false;");
  
        ListDownLoad.NavigateUrl = "javascript:void(0)";
        ListDownLoad.Attributes.Add("onclick", "location.href='" + "../EmployeesSalary/DownLoadSalaryTemplate.aspx?';return false;");


    }
}
